<template>
  <div>
    <div class="tou">
      商品管理<el-input
        v-model="input"
        placeholder="请输入内容"
        style="width: 200px"
      ></el-input>
      上架状态<el-input
        v-model="zhuang"
        placeholder="请输入内容"
        style="width: 200px"
      ></el-input>
      商品品牌<el-input
        v-model="pinp"
        placeholder="请输入内容"
        style="width: 200px"
      ></el-input>
      商品分类<el-input
        v-model="fen"
        placeholder="请输入内容"
        style="width: 200px"
      ></el-input>
    </div>

    <!--  分类  -->
    <div class="qie">
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="通过审核" name="first">
          <!-- 表格 -->
          <template>
            <el-table style="width: 100%">
              <el-table-column prop="index" label="商品名称" width="180">
              </el-table-column>
              <el-table-column prop="date" label="商品名称" width="180">
              </el-table-column>
              <el-table-column prop="date" label="上架状态" width="180">
              </el-table-column>
              <el-table-column prop="date" label="品牌" width="180">
              </el-table-column>
              <el-table-column prop="date" label="价格" width="180">
              </el-table-column>
              <el-table-column prop="date" label="库存" width="180">
              </el-table-column>
              <el-table-column prop="date" label="销量" width="180">
              </el-table-column>
              <el-table-column prop="name" label="修改时间" width="180">
              </el-table-column>
              <el-table-column prop="address" label="操作"> </el-table-column>
            </el-table>
          </template>
          <!-- 表格 -->
        </el-tab-pane>
        <el-tab-pane label="配置管理" name="second">等待审核</el-tab-pane>
        <el-tab-pane label="角色管理" name="third">审核失败</el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      input: "",
      zhuang: "",
      pinp: "",
      fen: "",
      activeName: "second",
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>

<style lang="scss" scoped>
* {
  margin: 0;
  padding: 0;
}
</style>